package com.hmbe.test;

public class Candy {
    public static void main(String[] args) {
        int x = 1;
        invoke(x);
    }

    private static void invoke(int x) {
        Runnable r = new Runnable() {
            @Override
            public void run() {
                System.out.println("Hello, world" + x);
            }
        };
        new Thread(r).start();
    }
}
